//
// Created by zhanghuaming on 2025/5/30.
//

#ifndef DEVICE_H
#define DEVICE_H
#include <string>
using namespace std;
class Device {
public:

    Device();

    Device(string name, string sn, int id, double price);

    void setName(string name);

    string getName();

private:
    string name;
    string sn;
    int id;
    double price;
};


#endif //DEVICE_H
